﻿namespace Fastyou.WCF.Proxys
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IFYFaultContracts")]
    public interface IFYFaultContracts
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IFYFaultContracts/DealFault", ReplyAction = "http://tempuri.org/IFYFaultContracts/DealFaultResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(Fastyou.Model.ErrorMessage), Action = "http://tempuri.org/IFYFaultContracts/DealFaultErrorMessageFault", Name = "ErrorMessage", Namespace = "http://schemas.datacontract.org/2004/07/Fastyou.Model")]
        void DealFault(int x, int y);
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public interface IFYFaultContractsChannel : IFYFaultContracts, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class FYFaultContractsClient : System.ServiceModel.ClientBase<IFYFaultContracts>, IFYFaultContracts
    {

        public FYFaultContractsClient()
        {
        }

        public FYFaultContractsClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public FYFaultContractsClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public FYFaultContractsClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public FYFaultContractsClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public void DealFault(int x, int y)
        {
            base.Channel.DealFault(x, y);
        }
    }
}